{* $Id$ *}
{include_core file="admin/lib/header.html" title="成员展示"}
  <div class="page-header border-bottom clearfix">
    <h2 class="left">成员管理<span>在这里对{$role_info.title}的成员进行管理</span></h2>
    <a href="{AnUrl("role/admin")}" class="btn btn-default btn-sm right">&lt;&nbsp;返回角色列表</a>
    <a href="{AnUrl("role/admin/add_user?id={$id}")}" class="btn btn-success btn-sm right"><i class="icon-add"></i>添加成员</a>
  </div>
  <div class="search-level1 clearfix">
    <form action="{AnUrl("role/admin/user_manage")}" method="get">
      <input type="hidden" value="{$id}" name="id" />
      <input type="text" class="left" name="search_filter[user_name]" value="{$search_filter.user_name}">
      <button  type="submit" class="btn btn-success btn-sm left">搜索</button>
    </form>
  </div>
  <!--start:列表-->
  <table class="list-table">
    <thead><tr>
      <th>登录名</th>
      <th>姓名</th>
      <th>手机</th>
      <th>角色组名</th>
      <th>添加时间</th>
      <th style="width:80px;">操作</th>
    </tr></thead>
    <tbody>
      {foreach $role_user_list as $k=>$v}
        <tr id="dataList{$v.user_id}" {if $k%2 == 1} class="bg-gray"{/if} data-id="{$id}">
          {if $status == 1}
          <td><input type="checkbox" class="listSelect"></td>
          {/if}
          <td>{$user_info = _uri('user', $v.user_id)}{$user_info.user_name}</td>
          <td>{$user_info.realname}</td>
          <td>{$user_info.mobile}</td>
          <td>{$role_info.title}</td>
          <td>{$v.add_time}</td>
          <td>
              <a href="{AnUrl("role/admin/delete_user?user_id={$v.user_id}")}" class="btn btn-danger btn-xs deleteOne"><i class="icon-trash icon-white"></i>删除</a>
          </td>
        </tr>
      {foreachelse}
          <tr><td class="txtleft" colspan="6">暂无数据</td></tr>
      {/foreach}
    </tbody>
  </table>
  {include_core file="admin/lib/pager.html"}
<!--end:列表-->
{load_js file='zclip/jquery.zclip.min.js'}
{load_js file='zclip/ZeroClipboard.js'}
{include_core file="admin/lib/footer.html"}